﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace crmbl.Azure.Globals
{
    public class StringHelper
    {
        public static Byte[] GetBytesFromString(String s)
        {
            return System.Text.UTF8Encoding.UTF8.GetBytes(s);
        }

        public static String GetStringFromBytes(Byte[] b)
        {
            return System.Text.UTF8Encoding.UTF8.GetString(b);
        }
    }
}
